{% extends "main_template.html" %}

{% block body %}

      <div id="visit">
        <h2>Blog Analisys</h2>
	<p> {{ info }} 
	
	<p>Pozwala na przeprowadzanie analiz na blogach zgromadzonych w
  bazie</p>

    
<form action="/analysis/vector" method="POST">
{{ form.as_p }}
<input type="submit" value="Submit" />
</form>

    <b> Najbardziej pasujace wpisy to: </b>
		
		<table>
		<tr> <th> Lp. </th> <th> Podobienstwo </th> <th> Link </th> </tr>
    {% for name, prob in blogs %}
		<tr>
	      <td>{{ forloop.counter }} </td>  <td>  {{ prob }} %  </td>  <td><a href=/browser/view/{{ name }}> Zobacz </a></td> 

		</tr>
    {% endfor %}
		</table>

        <p class="more"><a href="/instructions/analysis_vector">Instrukcja</a></p>
      </div>
     
	
{% endblock %}

